package cn.jltx.mvpdemopro.presenter;

/**
 * @author jltxseo
 *         Created by junlintianxia on 2017/08/01.
 */

public abstract class BaseLoginPresenter<T> implements ILoginPresenter<T>{
   public T mView;

    @Override
    public void attach(T mView) {
        this.mView = mView;
    }

    @Override
    public boolean isViewAttached() {
        return mView != null;
    }

    @Override
    public void dettach() {
        mView = null;
    }
}
